#app {
  display: flex;
  flex-direction: column;
  align-items: center;
}

/* -------  骨架屏组件样式  ------- */

@keyframes skeleton-stripes {
  from {
    background-position: 0 0;
  }

  to {
    background-position: 20rem 0;
  }
}

.ske-rect,
.ske-circle {
  background-size: 400% 100%;
  background-color: #f2f2f2;
  margin: 0;
}

.ske-rect.ske-ani,
.ske-circle.ske-ani {
  animation: skeleton-stripes 1s linear infinite;
  background: #f1f3f4
    linear-gradient(90deg, rgba(255, 255, 255, 0.39) 25%, transparent 25%);
  background-size: 20rem 20rem;
}

.ske-col-container {
  display: flex;
}

.ske-col,
.ske-row {
  margin: 0;
}

.ske-circle {
  border-radius: 100%;
}

/*  List组件样式  */

.project-card {
  display: flex;
  flex-direction: column;
  /* gap: 1rem; */
  background-color: #fff;
  padding: 1rem;
  border-radius: 8px;
  border: 1px solid #eaeaea;
  box-shadow: 0 3px 10px 0 rgba(0, 0, 0, 0.06);
}

.project-card button {
  flex: 0 0 32px;
  width: 32px;
  height: 32px;
  appearance: none;
  border: 0;
  background: transparent;
  border-radius: 0;
  cursor: pointer;
  opacity: 0.25;
}

.project-card button svg {
  width: 100%;
  height: 100%;
}

.project-card h3 {
  color: #222;
}

.project-card__header {
  display: flex;
  align-items: center;
}

.project-card__header time {
  font-size: 14px;
  color: #645c5c;
}

.project-card__header button {
  margin-left: auto;
}

.progress-wrapper {
  /* container: progress/inline-size; */
  display: flex;
  align-items: center;
  gap: 0.5rem;
  max-width: 400px;
}

.progress-wrapper p {
  font-size: 14px;
}

.progress {
  flex: 1;
  display: flex;
  height: 4px;
  background-color: rgba(0, 0, 0, 0.1);
  border-radius: 10px;
  overflow: hidden;
}

.progress__current {
  height: 4px;
  width: 50%;
  background-color: #528ef8;
}

.project-card__body > * + * {
  margin-top: 0.25rem;
}

.project-card__body > p {
  color: #585858;
  font-size: 14px;
}

.remaining {
  display: inline-flex;
  font-size: 12px;
  padding: 4px 12px;
  border-radius: 100px;
  color: #585858cf;
  background-color: rgba(239, 71, 111, 0.1019607843);
}

.project-card__footer {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 8px;
}

.users-list {
  display: flex;
}

.user {
  --size: 24px;
  width: var(--size);
  height: var(--size);
  background-color: #c7bbe2;
  border-radius: 50%;
  border: 2px solid #fff;
  opacity: 0.8;
}

.user:not(:first-child) {
  /* margin-left: -4px; */
  margin-left: -2px;
}

.user:nth-child(2) {
  background-color: #bbe2c0;
}

.user:nth-child(3) {
  background-color: #b7c2ff;
}

.wrapper {
  /* container: card/inline-size; */
  width: 850px;
}

/*** Non-demo CSS ***/
.layout {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(150px, 1fr));
  grid-gap: 1rem;
}

.hide {
  display: none;
}

.wrapper {
  /* max-width: 1000px; */
  /* margin: 1rem auto 0; */
  overflow: hidden;
  /* resize: horizontal; */
  padding: 12px;
}

.project-card__cover {
  padding: 1em;
}

.cover {
  border-radius: 4px;
  width: 140px;
  height: 100%;
  background-color: #528ff842;
}

*,
*:before,
*:after {
  box-sizing: border-box;
}

img {
  max-width: 100%;
}

body {
  font-family: "PT Sans";
  font-weight: 400;
  padding-bottom: 5rem;
}

/*  --------   Loading  样式 --------*/

.old_loading_placeholder {
  position: relative;
  width: 100%;
  padding: 1rem;
}

.old_loading_placeholder::after {
  position: absolute;
  content: "";
  top: 50%;
  left: 50%;
  width: 30px;
  margin-left: -15px;
  height: 30px;
  margin-top: -15px;
  border: 2px solid #999;
  border-top-color: transparent;
  border-radius: 100%;
  animation: circle infinite 0.75s linear;
}

@keyframes circle {
  0% {
    transform: rotate(0);
  }

  100% {
    transform: rotate(360deg);
  }
}
